package com.woniuxy.project.campus.canteen.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 猫将军
 * @since 2025年02月17日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("account_address")
public class AccountAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField("account_id")
    private Integer accountId;

    /**
     * 收货地址名
     */
    @TableField("address_name")
    private String addressName;

    /**
     * 收货人姓名
     */
    @TableField("user_name")
    private String userName;

    /**
     * 是否是默认地址
     */
    @TableField("default_address")
    private Integer defaultAddress;

    /**
     * 收货人联系电话
     */
    @TableField("phone")
    private String phone;


}
